<?php
$conn = mysql_connect('localhost','root','');
$sel = mysql_select_db('mybook',$conn);
mysql_query("set names gbk");
?>